fixed some jquery input stuff