bug 983573 - [Gaia] Refactoring webapp-manifest.js