Correctly finding height panel, fixes #83

Wait for DOM to update before looking for height.
Also, use $(node).height() instead of style for actual
height value.
JSLint fixes
Merge pull request #87 from Kitware/control-panel-height

Control panel height

Works on both FF and Chrome in Linux.