fixed jquery to hide inputs on locations page