If you are using the standard "$" notation for jQuery, there is a problem because "$" has a special meaning to the EL processor. Use the "jQuery()" form, instead.
You didn't say what "not working" really means, though. If the above solution is not enough, check to see if ADF is pulling in a conflicting version of jQuery undercover. A lot of the AJAX-supporting extension taglibraries use jQuery internally.
Customer surveys are for companies who didn't pay proper attention to begin with.