http://www.josephtheriault.com/2013/08/jquery-in-tdd-with-view-adapters-and.html