Add javascript dependencies.