added missing js function for custom dimensions