refactored js
ajax post of winner and winning time
pseudocode /winner route
fix js winner time