check for correctly configured uglifyjs and sassc before building