copy js to public directory, because editarea will request js files dynamic
editarea generator