Bug 1061519 - Fixes jshint error in tests/atoms/gaia_apps.js r=yurenju

You're right, it has to be `.length` Fixed it and rebased. How about the PR now ?