Google Chrome T-rex game in p5.js