Can now clear compiled folder before writing new JS file.