Add full URL for JS post request