frontend: TBR cleanup

addressed @rakyll comments in #4