fix player disconnection on refresh with sync post ajax request, remove js build