Modularizing force.js