Added disabled state css.
Added JS functions to enable and disable buttons.