Refactoring javascript for unit testing
karlwestin.posterous.com