Finds the dimensions of a browser's viewport.  Originally intended for use in front-end projects using browserify.