Refactored JSUnit (function name() {} -> var name = function() {}. Added a lot of other functionality such as adding event assertions