Fixed formatting on js object