Fix SMS mockup for desktop testing

This script was created to facilitate development on desktops using with
FireFox. It has broken since being implemented. This commit restores the
intended functionality.