Fix getFrequency() for ranges due to lack of  slice
Fix getFrequency() for ranges due to lack of  slice

kyroskoh/dancer.js,modulexcite/dancer.js,kyroskoh/dancer.js,jsantell/dancer.js,modulexcite/dancer.js,suryasingh/dancer.js,ngokevin/dancer.js,hoboman313/dancer.js,suryasingh/dancer.js,ngokevin/dancer.js,hoboman313/dancer.js