added support for jQuery definition when $ is missing.