Redifined the window object to allow for loading into node.js
updated the bower and package json files.
added some other objects to the closuer. conditionally becuase they are only available in nodejs.