Update js/bootstrap-datetimepicker.js

only fire hide event if the datetimepicker is visible
Merge pull request #21 from duschang27/master

fix excessive firing of hide events
I don't see any direct drawback