added refresh option
fixed jquery load bug which arose after previous update