javascript floating arithmetic post