Fix old type hash leftovers
Use toolbox instead of $toolbox for global object