How to access Global parameter value in java script file in sugar 7.2.2?

I want to access Global parameter value in java script file in sugar 7.2.2 but unable to do that. In sugar 6.7.5, I am able to do it by var val =$GLOBALS['sugar_config']['checkbox_field']; in custom/modules/cases/view/view.edit.php, but really do not know how to get it in 7.2.2.Here "checkbox_field" is a checkbox field ,shown in Admin page and I want to access this field value from Admin page to client/base/views/record/record.js file in 7.2.2