That makes sense. I'm never sure how best to handle such things in javascript. I've seen some js libraries/frameworks that do like you said, but use all caps letters to make it obvious it's a constant. I don't know if that's recommended somewhere or not. I can look into it.