add doc ready to js