changed optional dependency on moment.js to hard dependendy