load scripts from local server (not from other hosting solutions)
minor cleanup
removing duplicated functions
simplifications, style (minor)
adding zoom functionality
minor cleanup
don't show a preview when delete is active; cleanups
moving external code to ./lib
changing library file names in the code