Update client.js

Allow for 12/24hr time