I am interested in utilizing the Raphael JavaScript framework to generate charts using live data obtained from my Java web application. Is there a better approach than storing this data in hidden fields within my webpage and then retrieving it in the Raphael JS code?