added a way to inject a user-specified js filegs