Good idea, would certainly be more consistent to have both of them pulled out of the JavaScript.