fixed a CSS bug when selecting an invalid block
using use strict for Javascript, and added a build.sh using closure compiler instead of YUICompressor