First tests with javascript