Work on js homepage bug.