ourtaskr-18 Add dashboard view page - Improve JS

User YUI Widget lifecycle