js beginning