Fix Issue when used with other libraries

There are some other libraries which use the $ identifier and sometimes they are used alongside jQuery. I am writing a project in which this happens and the library was not working. This fixed the issue. Cheers.