add tabs features in .js files