Basic AWS template
HTML
<input type="text" id="accessKeyId" value="AKIAJIXJ432O6EUH2NLQ"/>
<br/>
<input type="passsword" id="secretAccessKey" />
<br/>
<button id="go">go</button>
JavaScript
$('#go').click(function () {
alert("hig");
s3.getObject({
ResponseContentType: 'txt',
Bucket: 'telescopesystems',
Key: "MIDDLE-2841.JPG"
}, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else alert(data); // successful response
});