Add reference document

Javascript the core.