fixed whitespace. JS file is deleted if js is false