simpler solution with browserify.