added the updated javascripts
added html layout