Got the sweetAlert working, wasn't commonjs compat
Got the preloader working well and optimized