Refactor code to make use of JS prototypes, rename ball sprite