12 hours AM/PM format input mask using javascript/Jquery