fix broken console.log in ie8
omit type attribute in script tag to use fallback (text/javascript)
combine ie8 fix with debug check