Updated to use CoffeeScript yes and no for easier readability.