add require & exports in js directory
add .gitignore file