Update platformer.js