Fixed backend JS error, setup frontend