Fix compatibility with thresholds
Added threshold example
Fix example comment html
Merge pull request #8 from epuidokas/master

Fix compatibility with thresholds by epuidokas