Use 2 spaces instead of 4 to indent JavaScript code
rm -rf instead of rm -f to take care of directories