fuse frontend html and js