AJAX refactored with shortand method $.get()