changing prototype with jquery and solving remotefield this.value issue