A simple javaScript expression parser