Fixed a few syntax errors in head, added minified D3 file to stack