formatting and comments in js