Array.slice fix for chrome/IE
Array.slice fix for chrome/IE