Commented out experimental js code
Attempt to not leave corrupt files on no free space