return Resource in Browser environment #335