Update BeanToBean.js

Implementing the first part of the method "Set"