Fixed formatting on js