fixed server side javascript push