Changing jQuery references to local $

Removing global `jQuery` references as mentioned in #67 and #68. Should work with real AMD and noConflict now.