javasript sample