class name should not have dot when toggleClass in Jquery