neatened up the js dir and switched to main.tt