Stubbed out a bunch of functions for the Javascript for Caleb to work on.