How to conditionally change field label name in sugar7?

How can I conditionally change a field's label name.

For example:

If I am having

this.model.get('field_name_1') as check , then the field field_name_2 should be displayed as abc or else xyz.

I expect the code changes to be made at record.js file.