IE8 compatibility. _.indexOf() instead of .indexOf. Removed trailing comma.