Prevented double callbacks from browserify.bundle