first pass at optimized build
Merge branch 'emailjs-modsquad-build' of github.com:mcav/gaia into emailjs