fix homepage JS test