js cover fix