fixed js error

Fixed the 'tabs' error due to js. Also, set text-align to 'left'
globally for the entire 'tabs' content.