Refactored code - separated html and js, chopped js to smaller pieces.
Refactored code - separated html and js, chopped js to smaller pieces.