Fixed issues with IE 7/8

Fixed issues with Array.isArray  not being supported for IE 7/8