Corrected component.js generation script, updated smoosh

Older smoosh was not possible anymore to be installed so it was replaced
with newest version