How to strip tags in Javascript? ref: http://qiita.com/tpai/items/0d01cb21eb79f1ed5ea5