Refactoring js

Refactoring js before implementing new class for sudoku board generator.