Improve compatibility with other plugins that include jQuery
Update quote function