Manage javascript dependencies