Make jspot usable programatically

This would help if we ever wanted to make pot creation part of our sandbox apps' build steps with grunt.