This will help the linter prevent spelling mistakes and make some code more easily readable. Resolves #233
This meant we needed to rename tests/lib to tests/js so they folder names would not conflict.