Made the Changs to javascript file