Added OPTCFLAGS, OPTLDFLAGS
js/lib/blocks:  Made matchAt return -1 instead of null on no match.