remove javascript property
fix php api
remove public method