Pandas Attributeerror Engine Objects In Javascript Methods And Functions