reducing google closure code