refactored widget to work as backbone view