tabs work on javascript