changing the link of js file to local