send xray wavelength in server request; clean up markup