Wrap code in anonymous function for jQuery noConflict.