Bodymovin lottie animation syntax error ! Please Help

Hi Guys ! i tried to implement a lottie (.json) animation to a html page !
i included all needed scripts ( animation and player scripts ) but i get this error in dom console : Uncaught SyntaxError: Malformed arrow function parameter list
anyone tried this before ? thanks for helping guys appreciate