Code optimisation and compression

* Removed unnecessary call of appendToVisibleContainer() and replace with window resize event trigger
* Added minified version (80% compression)