Changed client library page tag to use map function with request parameter so that scheme and domain are correctly accounted for when writing out link and script tags