Cli tools to refactor javascript code