restructured js and html files, tweaking