a js dom file