Fix options hash so that all layout examples are consistent
trailing comma is not legal in ECMA-262 object initializers
missing variable declaration
function defined but not used
Merge pull request #536 from JoshTGreenwood/master

Fix options hash so that all layout examples are consistent
Merge pull request #538 from ZaWertun/master

JavaScript validation issues
linting for #541; old renderer code worst culprit and is mostly TODO
update readme for testing & linting
formatting
move watch
revise targets
clearer indentation
consistent capitalisation