added js and front.html
edited css