Fix reserved name 'class' in Display JS.
Use moment.js library to parse grid dates