more tab stuff for javascript