Rene,
Sorry for not posting earlier to your question. What I did was create a variable named js:capitalize in the data section of Global Properties with capitalize(this); in the Initial Value field. I have attached a screenshot.
HTH,
Alan
[attachment deleted by admin]