Image loader for browsers, based on Q promises