Added clearTags() function, documentation and minified script