removed 'before' attribute from jsregistry