2.0 RequireJS Integration

Integrate RequireJS into all the JS files for greater organization and dependency management.