Fixed market links not working for some items

Minor changes to CoffeeScript code
Updated to CoffeeScript 1.5.0