Format js docs