updates for page template and food journal page and js