updated for cjsx and made use of coffee-react module