Bugfix MDateBox is not working on iOS7 Safari

With this fix the MDateBox can be used in iOS7 Safari.