fixed arguments detection and condition of underscore.js
added basic logic for compression and decompression
Simplified some code for better readability
Added the main logic for compression and decompression
renamed resize.main function to o.resize
remove console.logs
added some comments for custom events
Merge branch 'feature/compression-decompression-logic' into develop