ChromeOS: Made debugging build optional and non-default, as well as applying to the JavaScript portion of the extension