Fix for latest jQuery version

If you use the latest jQuery version for e.g. 1.9.1. The outerHeight() returns an object instead of a number, this cause the ui picker dialog to display at the bottom of the page.