Cleaned up snake code, project is to be focused on sensible javascript from this point on