fixed main js