javascript to my dome