added fixes for failing tests
Better fix for extended function call
various bug fixes
removed .bower.json