Critical current density in superconducting niobium films