Generic JavaScript View - Problems with recreating the Heatmap example

Just found another dicussion adressung the same problem:

Will try out the suggestions and report back here.