fix the top image js