refactored html and js pages https://app.asana.com/0/15857617978604/15857617978604