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>