Update ps-input-time.js

Changed Everything. Better code. Adding more functionality and more input formats.