Javascript metaballs