fixes for hp badges

also fixes tooltip
Merge pull request #326 from topcoderinc/patch-I-116753

Patch for I-116753