An improvement to two Phaser tutorials I found, using Require.js.