Fix TypeError on jQueryVersion when jQuery isn't present