Revert "fix update for ngmin. ready for testing."

This reverts commit 973b599ed78642b89275806785490f94564d80ea.