stripping tests from the minified shared javascript