add spm & seajs support