updated affix, prepare hero image js