changing to remote js scripts