allow jqplot to take a selector instead of just pure target id
it is quite limiting to have to pass the id. Why not pass a selector. for backward compatibility, a new constructor can be created that takes a selector as the target.
jqplot can then be modified to convert the target id to jquery selector and pass it to the new constructor.
now we can use the new constructor directly or use jqplot with an id