Experiment with mockjquery.