Removed renderItems() from js