Added a simple D3 demo; allowed adding external scripts