Fix jquery snippet test require