+/**
+ * Author: Shane Jonas
+ * Child Browser Implimentation for the Playbook
+ */
+
 package blackberry.polarmobile.childbrowser
 {
-
-    import json.JSON;
-
+    // flash
     import flash.geom.Rectangle;
     import flash.display.Stage;
     import flash.events.MouseEvent;
     import flash.display.Sprite;
     import flash.events.StageOrientationEvent;
 
-    import qnx.locale.LocaleManager;
+    // qnx 
     import qnx.media.QNXStageWebView;
     import qnx.ui.buttons.IconButton;
     import qnx.ui.skins.buttons.OutlineButtonSkinBlack;
 
+    // webworks
     import webworks.extension.DefaultExtension;
 
-    /**
-     * Author: Shane Jonas
-     *
-     */
 
     public class ChildBrowser extends DefaultExtension
     {

            webView.stage.addChildAt(bgshape, 0);
        }

        override public function getFeatureList():Array {
            return new Array ("blackberry.polarmobile.childbrowser");
        }

        public function loadURL(url:String)
        {
            browserHeight = webView.stage.stageHeight - 50
            initBG();

            //only ever create one web view
            if (childWebView == null) 
            {
                childWebView = new QNXStageWebView("ChildBrowser")
                childWebView.stage = webView.stage
                childWebView.viewPort = new Rectangle(0,50,webView.stage.stageWidth,browserHeight);
            }


        private var bgshape:Sprite;
        private var browserHeight;

        //icons
        [Embed(source="assets/close.png")] 
        public static var Close:Class;
        [Embed(source="assets/refresh.png")] 
        public static var Refresh:Class;

        public function ChildBrowser() 
        {
            super();
        }

        override public function getFeatureList():Array 
        {
            return new Array ("blackberry.polarmobile.childbrowser");
        }

        private function initBG()
