Fixed syntactic errors (final is a reserved word, no trailing ",") reported by closure compiler.
Merge pull request #211 from kvantetore/master

Fixed syntax errors reported by closure compiler