created global variable for browser through browserify