changed config to allow access to external js