improved define() boilerplate
Impl. navbar, Select
fix moment refs