Fixed volume example which was causing JS errors
Updated default template functions to take div element name for rendering the chart
Updated default template function to return object with params