Watch this Author's files
I had the same problem as dario.
The Name of the Layer was "0 " instead of "0". Therefore, i changed line 12 to:
Now it works perfect for me.
(Maybe a little late...)