different tab settings for javascript