Update script.js

Added a random ball variable, and initialized it.