Comment re: js snippet to get tab working