Adding JSDoc annotations

Added annotations for the google closure compiler.