moving mocha and jquery to lib