updated minified version with bug fixes found in last ssm.js commit