Improves code syntax of the CoffeeScript version