fix js f-up