Minify JS when serializing, remove dependency on should module.
Minify JS during serialization. Remove should dependency.