fix index documentation file
use package.json instead of hard coding