strict mode and platform.ready