Update device.coffee

RTrim unnecessary Whitespaces