unit tests for jquery