javascript examples setups