To avoid issues with refactors, test should be added which verify referenced JS functions actually exist.