Javascript definitions for the Fortune Cookie API