Make Javascript requirement reference dynamic

If you use the module with the name as cloned: silverstripe-customhtmleditorfield the JS wont get loaded since the path is hardcoded.