Updated TODO [ci skip]
Added JavaScript tests
Moved Coveralls from the dev requirements to the Travis script
Removed unused var
Fixed docblocks
Replaced variable with equivalent variable. No functional change intended
Whitespace
Synced to 00675108434244cdcac18edb20e7a5231489b3b0
Synced to 00675108434244cdcac18edb20e7a5231489b3b0