Bug 898639 - [EVERYTHING.ME] User is unable to add bookmarks to Homescreen r=vingtetun

Added missing 'var' declarations, one of which was setting window.name from 'main' to other values