Fix jquery not found on firefox