Finished rewriting player.js.
Forgot to add main.js to version control
Rewrote map and maploader.
Rewrote static_object, fixed maploader dependencies.