adding JavaScript dependencies