auto_common_spec: file formatting and js lint fixes