copying output.log to JS directory