added more tests, fixed late binding with buttons

- moved tag manipulation function within jstoolbar reach
- fixed late binding of jstoolbar context
- added more tests to cover more situations