Fixed a bug where jQuery was throwing an error on azure due to changing type property of an input