[bug] frontend JS bug on no category page