added javascript invocation framework and charts