Fixed Issue #270

newBaseUrl is a string. Accessing string chars as array does not
work in IE8, that's why _.initial fails.

Signed-off-by: Pankaj Singh <psjinx@gmail.com>
Merge pull request #289 from psjinx/fix#270

Fixed Issue #270