Common JavaScript utils (from number format to populate form fields with JSON data).