Graphite Render URL API Handler in jQuery