Only apply disabled styles to buttons if js is enabled