Restricting access to jQuery

Restricting access to jQuery


Hi
I'm writing an application which is going to make use of user
submitted Javascript.
I want to resrict access to jQuery (for obvious reasons). Would the
following achieve this ?
(function(){
var jQuery = $ = null
/* USER CODE HERE */
})()
Thoughts ?
Confused weepy