add text.js

used for _.template function of underscore