WICKET-4961 Fix jslint errors (undefined 'element' - 'form' is meant), usage of == instead of ===, add semicolons.
WICKET-4975 client side memory leak on date picker
WICKET-4975 client side memory leak on date picker

Avoid JSLint warning