remove jquery dependency; add mocha and mocha chai tests