edited js and html