adding charts and js