Add jshint, switch to 2 space indent
Further jshint revisions
More refactoring, variable grid border width
Move grid logic into separate module