Bug 949459 - Restore support for older branches in gaia_apps.js. r=akuo