Doc updates + removed unused js code