Moved bounded values code into its own function
Added static widget manager javascript
Added static widget template