Added Js and other codes