Cleanup JS; add rows/cols config
Merge pull request #5 from earldouglas/js-cleanup

Cleanup JS; add rows/cols config