Empty separator bug

Fixes a bug where an empty separator (“”) specified in the options
object would cause the browser tab to become unresponsive if the endVal
was a 4+ digit number. Special thanks to @sgtmercs for finding this bug
and creating an issue.