Port animations.js to Effect.js with browserify