You can write JavaScript shorter.
Helper functions for something.
Static HTML generator.
Elements for frontJ.
Builder for frontJ.