Create sample.js

We have added the basic javascript calls for our app.