It uses a menu bar to browse between the tabs.
Most of the javascrit code was moved to the file render.js