Utilities for handling the rules for Mobile Frame Zero in JavaScript.