test - javascript organisation