- Deleteing comments
- Substitution of all strings
- Convert tabulators into blanks
- Delete redundant blanks
- Search variables (normal + variables in function-heads)
- Search for functions
- Substitution of constants
- Replacements: Variable names, function names, function names in strings (e.g.: setTimeout ("function()", 100);)
- Line compression
- Combine all occurring strings into a "giant string", which is then compressed and optionally coded
- Convert all number constants in variable assignments, placed to the beginning