Line Changes and $->jQuery replace error fixed