Move more dependencies to npm
Remove browser focus reset on navigation