expanded build script to create lib with mathjaxlocal