Hunt down JavaScript dependencies.