Pure javascript achieve click img to return top on website