Fixing custom marker tooltip example to correct Firefox undefined error refs #347