changed to remote js file