fix js not found bugs