devpanel: tweak template/style
fix broken test (strict mode in Firefox)
basis.template: fix check for instance of Node for Safari and fallback for IE