V4.7- Resolved Github Issues

Resolved #90,#210,#226
Added lang.trim() instead of javascript trim function