end of class - errors, moment.js, regex