created decent looking views

neatened up the js dir and switched to main.tt