Minor correction to inputfields.js