ChromeOS: Restructed the JavaScript portion of CACKey