Moved list functions to Array.prototype, much better performance