[php js] removing some debug code