refactoring and minor tweaks/renames

refactor ball.js, rename field.js to fieldBackground.js, fixed
getRandomValue() in utilities