Make directory if it doesn't already exist: Update index.js