allow scrollpoints to be used in browserify context