CBD-1217: just write the URL, skip using JavaScript

Change-Id: Ia564242bb0c0ad7e26b98ae63f0766d85bb807b5
Reviewed-on: http://review.couchbase.org/33091
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>