now uses reimplementation of PHP strip_tags

the implementation is taken from http://phpjs.org/functions/strip_tags/