Removed unused scripts, updated local jQuery, improved login