support object declaration for .prop and .attr
Rename variable
Use vanilla trim