Create index.js

The javascript called at the beginning