add js scripts in jsregistry