Create balls.js

Main javascript