Fixed a couple of JS bugs; improved file overwriting prevention so it doesn't append strings on filenames after extensions; filenames are now slugged before moving to uploads folder