fixes z-index problem.

if jstree is in a high-value z-index div contextmenu won't show. this
fix determines what z-index value it needs to have to show properly.

needs more testing