If you are already using a custom format script, you cannot use one of the predefined formats at the same time. You will have to either re-implement the formatting in JavaScript, or "borrow" the scripts that Acrobat is using. Take a look here for more information about the latter:
http://khkonsulting.com/2015/09/apply-standard-pdf-form-field-formattingkeystrokevalidation-events-to-fields-via-javascript/
To do it manually, you can use the Number.toFixed() method:
Number(5).toFixed(2);
This will result in 5.00 - instead of the number, you would use the event.value:
Number(event.value).toFixed(2);
This would be done in the "else" branch of your "if" statement.
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com