Rebuild asActivity using jQuery