Added label.js.
Enahced text.js.
Added some util functions.