add javascript dependencies