corrected url in javascript file