Update Chimney and JS for new previews; fix weird preview cleanup code