Update index.js

Added category