Updated getRest function of jMusic.js to support dotted notes