Added timepicker/datepicker option shortcut and fixed the problem with not using a bootstrap icon p.s. (.length)

Added timepicker/datepicker option shortcut and fixed the problem with not using a bootstrap icon p.s. (.length)