Reorganized directories and files. fmo-counter.js code cleanup