Add missing javascript dependencies.