Fixing bootstrap-tooltip problems with prototype