Added isChromeExtension to plain controller