create js folder
refactoring javascripts, loadPuzzle unified