Fixing JSHint warnings.
Specs for fields.copy()
New copy() implementation.
Simplifying fields.field() and deleting the obsolote shift() function.