Javascript to retrieve ID for current record and display in message box