I know there are no constants in JavaScript however I would like to separately store configuration values to make them easy to find and tweak.
- Create a separate
$.Class
and store the key-value pairs in the static part - Or have them read from a JSON configuration file
- Or something better