FIX: Fix js bug in detail search page