Assets 2

Fixes an issue with paste handling for inputs with a type of button, and includes an additional fix for pasting that restores the original maxlength value.