You don't have to change your code to test. Just open your application in firebug and wait for everything to load. When you are done, try calling $() from the command line and see if it returns Document. (or see if $ returns a function)
If you don't get the expected results, then $ was broken somehow. I had this happen before with dojo and jQuery, but I'm not sure how it happened.