add fallback jquery
detect jquery
test cases for master and stable repo