Fixed 0 message bug, formatting changes

Tidy up several functions. Use different URL for slightly faster message
searching. Fixed error involving '0 new messages' being displayed in
certain cases. Updated jQuery to 1.9.1. Updated README to reflect
changes.