fix to keep compatibility using prototype.js and jquery together