1st commit , some tests and JS script