It's difficult to answer, but you don't seem to miss anything.
Are you sure that pages that uses
http://plantuml.com server are working on your examples ?
Are you doing your tests on web hosted pages ? (and no on local html page from your PC?)
Did you add an error while editing the plantuml_jquery.js file ?
Theorically, it should work.
Tell us about your testing!