Add comment about declaring global scope by omitting var
Added data to posts collection