const is only available in JavaScript 1.7

Even thou browsers do support it we're not in `strict` mode
so no reason to use it yet. Also `const` is not part of ECMA-262.

Thanks @Ventero
Cosmetics: add missing semicolon