Create sam.js

added a new sam.js file