updated JS tab id var, tabs now work