add moment js lib and change specs to allow using new railties