Fix bug when not loaded jquery