Samples useful for understanding how to fix memory leaks in js applications (code is mostly from Google)