alias setValue to type

The method `type` doesn't convey that it can also be used to set the value for any dom element.