Functional thinking inspired DOM helpers (browserify and selective require friendly)