[FIX] web: notebook: remove fade effect on tab switch

Also, fixed two global variables introduced by rev b2e32a8f7e7d0b