added test, began jquery support