Added annotations for the Closure JavaScript optimizing compiler.