server side solution:js change