update qunit and jquery references, seems they have changed
add unit test for issue #13
fix for issue #13
Merge pull request #14 from freshcodes/issue-11

Fix for #13