fixed spoiler, revert some old JS