Added dot disabling and enabling

added the JS functions diableDotsInGroup and enaleDotsInGroup, to work
toward #7 and #11