build uses uglify. fixed require issue