clearing out the directory to create a new javascript one