reply to simplecalc with javascript