removing surplus dot in jquery selector