Raw JavaScript updates DOM with API information