cleanups, moving code around; while here add the page argument to
myraToHttp