Improved the efficiency of code: With this improvement we achieve to just do an rpc call when the js file is called instead of do the call for each field.