creat global JS object on meals page