JS reorg for actstream