Refactored php files. Use autoloader from composer.
Replace MooTools with jQuery. Minor changes.
Workaround for a strange array bug.