Add support for js coming from admin as well as open admin