moved template helpers into clent/views for better organization
implemented asynchronous client side timer