Dialogue added, major JS programming