Javascript frontend boilerplate