A basic javascript program