Ensure variables stay in local scope
Ensure variables stay in local scope

Remove issue where `controls` and `date` were assigning global
variables.

zorab47/jquery.ui.monthpicker,zorab47/jquery.ui.monthpicker