code shrinking & optimize

make uglify happy