Update perTime for client javascript main.js