added appendAround js