add graph js lib, update controllers