Formatted with JS beautify for consistency
Allow turning off cleaning completely
Moved JS file to root folder