Add missing .jpg to icon paths. Converted JS to CoffeeScript.