Fixed issue when timepicker is part of a more complex html layout
Fixed issue with z-index (more robust detection)
Added setTime by number of seconds