add support for method in Javascript-Graph
add PDF support for javascript and add to resources