I'd prefer to keep this in the JavaScript file.