Removing $ so there is no conflict with jQuery.