Fix JS math module with missing commas