cleaned up time picker table in js