JavaScript added. Adds open class on tab click.