Update object.class.js

add hasRemoveControl