clean up trailing whitespace
clean up require/import