Fix a bug in which getServices('uuid') would fail to match anything because JS Strings have a .length property.
Fix a bug in which getServices('uuid') would fail to match anything
because JS Strings have a .length property.

appsup/chrome-app-polyfill,jyasskin/chrome-app-polyfill,appsup/chrome-app-polyfill