Bugfix toolbar.js

Fixed possible breaking of script insertion when first child node of documentElement is a comment. Also improves readability of code.