fix coffee script compilation

- also fix optimize_file options