Fixes for things broken in refactoring

Refactoring changes (consolidating common functions to slite.js and
renaming LASER and laser_Mobile to slite_browser and slite_iphone) broke
a number of features. Should be ok now.