[web.coffee] Don't try to get the title of pages that aren't html
Merge pull request #778 from hashbrowncipher/web_html_title

[web.coffee] Don't try to get the title of pages that aren't html