Split up script.js

Added sprites.js to hold sprite, player and background render code
added sprites.js <script> tag to index.html
fixed order of <script> tags in index.html