fixed auto-load jQuery code