refactor
include js
add gitignore