fix bug theme js loading