Fixed a jQuery compatibility mode bug

Made sure we use jQuery instead of $ within the plugin