Small scripts to learn javascript (works using rhino )