fix asset image in js