Fix #525: Closure emits spurious warnings for @JSExported properties.
Fix #518: Closure sometimes eliminates all our exports.
Merge pull request #527 from sjrd/fix-closure-warns-and-bug

Fix closure warns and bug