updated samlite.js from coffee