Added web sandbox and handling of extensions