title: AWS IoT: Subscribe to Topic in Browser
body: <p>I'm currently developing a Serverless App with AWS.</p>
  
  <p>I want to subscribe to a topic using plain JavaScript (No Node.js, React, Angular etc.)</p>
  
  <p>The IoT and IoTData SDK's doesn't support a "subscribe to topic" function.</p>
  
  <p>To achieve this, i need to implement the <code>aws-iot-device</code> sdk, via <code>require('aws-iot-device')</code> (which i can't use in plain JS).</p>
  
  <p>Unfortunatly this SDK only works with runtimes like Node.js or Browserify. 
  So how can someone subscribe to a topic from browser? Is there a way to implement the SDK into plain JS?</p>
  
  <p>Thanks in advance</p>