Revert "don't mangle js"

This reverts commit 6511eb9c0ca482d904f217e1f878f40436ce1613.