Moved script and style register and enqueue to functions.php and removed some unused script calls.