Pushed momentjs lib and templates for the core clock
Fixed bug in compilation on event for programs