Update ajaxSM.js