Change paths to jquery resources.
Check if timepicker would be off-screen and position accordingly.

Check if timepicker would be off-screen when displaying below its
i.element and display on top instead.