This seems horrendously fragile -- especially since I believe we're moving away from the `i4x` URL scheme. You may want to talk to @dmitchell to see if there's a better way to do this.