Better javascript dependency management