add better jquery version checking and lower required version to 1.8