DAR-712, JS formatting cleanup