Update cssassist.js

fixed error in handling case when context is single node.  Needs cleaning.