Use requirejs to add convenient modularity.