tweaks to uss.js and other minor sm fixes