Create index.js

Original beta version