Update inline-attach.js

+Minor Fix: jQuery.each replaced with a classic 'for'
+Because of Travis CI build: Whitespaces deleted etc.