Bad-ass infrastructure for javascript libraries