simple interpretator of math expressions on javascript