Adding javascript references to codeblocks.