Applets are now assumed to be non-permissive. This is a work around for applets and #5