Update awsPublish.js

delete duplicate line