moved all code to generalization.js
deleted all js files, except generalization and Quadree
displacement ok