Add definitions for rabbit.js