Making HashArray work with browserify by appending HashArray to the window object in browsers.