Fixing jQuery reference bug, swapping Jasmine test suite for Mocha.