Improved small fixes from https://github.com/hoho/jquery-bem/pull/3 by jchouse.