Adds basic comment functionality, tab switching via JS