WIP (as per usual!)
- moved more code out of the index.html
- lots more jquery usage instead of hard coded html
- added plenty of bugs (ha)