added img.js
Merge branch 'img' of https://github.com/s-mcqueen/granite into img