You can get there by train/local transportation. Take Airtrain from your terminal to Jamaica station, transfer to E subway or LIRR (faster) to Penn Station (or NYAS bus from your terminal to Penn Station) and then take the NJ Transit-North Jersey Coast line to the end at Bay Head and take local transportation from there to Seaside Heights.
You can get there by