Added main.js and added hello world example.