modified jsunit to include more functionalities