Just some test with Duff' device on javascript