Add missing declaration for variable.
Add missing declaration for variable.

Inside fetchData there is a variable that was being set before being
declared hence putting it on the window object.

Also added missing semi-colon and fixed a typo in a comment.

montagestudio/montage-data,montagestudio/montage-data,montagestudio/montage-data