promise+firebase instead of cookie for lastSeen

- replaced cookie that stores lastSeen value with a promise and deferred
object that retrieves it from firebase
- normalized indentation to 4 space JS and CSS, 2 space HTML
- added 2 new pages to index.html for GH page