Added require.js file.
Started rewriting with requirejs, going well.
Finished rewriting player.js.
Forgot to add main.js to version control
Rewrote map and maploader.
Rewrote static_object, fixed maploader dependencies.
Rewrote player_controller.
Rewrote everything, not currently working
Still broken.
Fixed the weird scoping within setInterval problem.
Fixed the weird scoping within setInterval problem.
Fixed merge conflicts.