moved jQuery wrapper