encode equation in uri so it can be shared