jQuery verison update and small regex fix