Stop relying on Native.JavaScript which no longer exists