styled page and added js implementation