Added a new blog post about this in js