corcorans/device.js — pull request #1 by zacheryph (2014-04-16 17:10:20+00:00)
Title: clean up all the things

* slims code base down
* remove unneeded try/catch syntax
* define device variable on window itself