Solved problem with max rectangle thumbnailer
Removed unnecesary JS ando slugify taken from django