Fixed issue #7709: Javascript broken : select for question type