Fixed path issue for javascript file