fix js lay