use same tabstate.js for both versions