code about JavaScript