Start cleaning up code and separating into files.

Renamed gridWorking.js to gridFunctionality and removed
certain functions to improve readability. Found several
bugs which will be addressed soon.
Merge branch 'master' of github.com:reetah/reetah.github.io
Remove old javascript files.