changing the type of number in field_controller.js