Bug 1005511 - JSHint fixes for shared/js/device_storage/

https://bugzilla.mozilla.org/show_bug.cgi?id=1005511