FLUID-5075: wrapped code in a closure.

The textfield slider code had been missing the function ($, fluid) closure.

http://issues.fluidproject.org/browse/FLUID-5075