moved svg and js into new file