Make it testable using browserify!