Added example how to test code using jQuery.