add resourses_threads.ml.js