fixing js error in JSSnippets on mobile where mw is defined but not mw.config
Merge pull request #1077 from Wikia/jssnippets-on-mobile-bug

fixing js error in JSSnippets on mobile where mw is defined but not mw.c...