Cleanup frontend templates