I forget how to do this in the Moovweb SDK
Assuming this is your HTML:
<div class="foo bar"></div>
You can use the XPath contains() function:
contains()
$("div[contains(@class, 'foo')]") { # More Tritium here... }