Update tmmt.js

$.each removed :)