Fixed #769. Added some analytics timing tracking. Added replacement for $.browser.