Python Method Chaining Javascript Snake Hacked