Proper typeof check

ko.track([]) was not working