adding javascript dependencies