1. add start and stop to widget manager

2. add unit tests for widget_manager.js