adding layout manager and momenjs