mocha & karma
Fix rake test:run_node
Fix leaking global bug