First commit for modifications from original tipsy.js