title: Handlebars throwing error: "Uncaught TypeError: Cannot set property 'Handlebars' of undefined"
body: <p>I have npm installed handlebars v4.05:</p>
  
  <p><img src="https://cloud.githubusercontent.com/assets/9218739/16806216/8295eeee-490b-11e6-9076-74570e946ae5.png" alt="image"></p>
  
  <p>I use grunt to compile a "searchBundle.js", it (grunt) bundles jquery, underscore, handlebars and all of my other files in my search directory into the searchBundle.js file. (Not sure how relevant that is, but thought i'd mention, just incase).</p>
  
  <p>When I load the page though, it throws this error: "Uncaught TypeError: Cannot set property 'Handlebars' of undefined"</p>
  
  <p>I tried looking for a solution but only found an issue submitted for the <a href="https://github.com/brunch/handlebars-brunch/" rel="nofollow">https://github.com/brunch/handlebars-brunch/</a> package. It basically said that babel was the issue (which I use during compiling the searchBundle.js file via grunt-babel) and so I tried the solution that it proposed in the issue (see here: <a href="https://github.com/brunch/handlebars-brunch/issues/51" rel="nofollow">https://github.com/brunch/handlebars-brunch/issues/51</a>).</p>
  
  <p>However this didnt fix the issue. Here is a screenshot of the line that the console is flagging up:</p>
  
  <p><img src="https://cloud.githubusercontent.com/assets/9218739/16806166/515eb20c-490b-11e6-98d0-0f23e2496dda.png" alt="image"></p>
  
  <p>Any ideas? I am not seeing this flagged as an issue on the handlebars repo and I amn't seeming to find anything on here or google on what could be causing this.</p>