Removing call to $.browser which went away in jQuery 1.9.

I have also cleaned up some calls to console.log.