Minimum changes necessary to work with browserify

Function now passed to module.exports.
Requires jquery-mousewheel instead of grabbing it from a cdn.