Add Javascript dependencies.