upgrading to typescript 0.9
whitespace cleanup
changing the symbol for groups to be  not $ so it can be an identifier
cutting 0.3