removed  prototype dependency for editor widgets