Simplified jQuery element creation syntax and changed $.ajax to the recommended $.get form