Solution conventions

Move js file into js folder. Remove unused variable. Tweak variable names to be more readable. Fix indentations. Cleanup logic in isItSweepingTime method