Typhoon Melor on path towards Japan