added js and changes