Added settings and conditionaly load jQuery